package com.lei.sqlJsp.dao;

import java.util.List;

import com.lei.sqlJsp.entity.GoodsEntity;

public interface GoodsDao {
	void add(GoodsEntity shopName);

	void delete(Long id);

	void update(GoodsEntity id);

	List<GoodsEntity> listAll();

	GoodsEntity getById(Long id);
	
	int getCount();
	
	List<GoodsEntity> getPage(int currentPage,int pageSize);
}
